package com.catchu.pattern.creational.构造器模式.cup;

/**
 * 茶杯对象
 */
public class Cup {

    /**
     * 杯绳
     */
    private String line;

    /**
     * 杯盖
     */
    private String cap;

    /**
     * 杯体
     */
    private String cupBody;

    public String getLine() {
        return line;
    }

    public void setLine(String line) {
        this.line = line;
    }

    public String getCap() {
        return cap;
    }

    public void setCap(String cap) {
        this.cap = cap;
    }

    public String getCupBody() {
        return cupBody;
    }

    public void setCupBody(String cupBody) {
        this.cupBody = cupBody;
    }

    public void show(){
        System.out.println("创建完成");
    }
}
